package models

import "gorm.io/gorm"

type Order struct {
	gorm.Model
	UserId      int64   `gorm:"type:int(11)" json:"userId"`
	TotalPrice  float64 `gorm:"type:decimal(10,2)" json:"totalPrice"`
	Address     string  `gorm:"type:varchar(300)" json:"address"`
	OrderNo     string  `gorm:"type:varchar(50)" json:"orderNo"`
	OrderStatus int64   `gorm:"type:int(11)" json:"orderStatus"`
	TakeName    string  `gorm:"type:varchar(30)" json:"takeName"`
	TakeMobile  string  `gorm:"type:char(11)" json:"takeMobile"`
}
